package rhc.taskSchedule.entity.taskSchedule;

import org.springframework.data.mongodb.core.mapping.Field;

public class IntervalNumberTaskSchedule extends IntervalForeverTaskSchedule{

	public static final String COLUMN_REPEAT_NUM="repeat_num";
	
	public IntervalNumberTaskSchedule(){
		super(ScheduleType.INTERVAL_NUMBER.typeCode);
	}
	
	/**
	 * 重复次数
	 */
	@Field(value=COLUMN_REPEAT_NUM)
	private int repearNum;

	public int getRepearNum() {
		return repearNum;
	}

	public void setRepearNum(int repearNum) {
		this.repearNum = repearNum;
	}
	
}
